package cc.mrbird.unit.domain;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "info_type")
public class InfoType implements Serializable{
    private static final long serialVersionUID = -3166112934492868403L;

    @Column(name = "unit_id")
    private Long unit_id;

    @Column(name = "type_id")
    private Long type_id;

    public Long getUnit_id() {
        return unit_id;
    }

    public void setUnit_id(Long unit_id) {
        this.unit_id = unit_id;
    }

    public Long getType_id() {
        return type_id;
    }

    public void setType_id(Long type_id) {
        this.type_id = type_id;
    }

    @Override
    public String toString() {
        return "InfoType{" +
                "unit_id=" + unit_id +
                ", type_id=" + type_id +
                '}';
    }
}
